#ifndef GLSTUDY_VERTEXARRAY_H
#define GLSTUDY_VERTEXARRAY_H
#include "Render.h"
#include "VertexBuffer.h"
#include "IndexBuffer.h"
class VertexLayout;
class VertexArray
{
public:
	VertexArray(const VertexBuffer &vb, const VertexLayout &layout, const IndexBuffer &ib);
	void bind() const;
	void unbind() const;
	~VertexArray();

private:
	unsigned int m_id;
};

#endif // GLSTUDY_VERTEXARRAY_H
